@import "~taro-ui-vue/dist/style/components/icon.scss";
@import "~taro-ui-vue/dist/style/components/action-sheet.scss";

.activity-ranking {
  height: 100vh;
  background-repeat: no-repeat;
  background-color: #ffffff;
  background-size: 100% auto;
  display: flex;
  flex-direction: column;
  .headWhite {
    background-color: #ffffff;
  }
  .activity-ranking-scroll {
    flex: 1;
    overflow: hidden;
    // background: url("http://xthk-edu-test.oss-cn-shenzhen.aliyuncs.com/public/20201207/1607311365784.png")
    //     no-repeat,
    //   #fff7e0;
    padding-bottom: 120px;
    .personal-ranking-wrap {
      padding: 20px 30px 0;
      .personal-ranking {
        display: flex;
        justify-content: center;
        .side {
          padding-top: 24px;
          flex: 1;
          text-align: center;
          .num {
            font-size: 40px;
            font-weight: bold;
            line-height: 48px;
            color: #303133;
          }
          .text {
            padding-top: 10px;
            font-size: 24px;
            font-weight: 400;
            line-height: 34px;
            color: #999999;
          }
        }
        .center {
          width: 108px;
          height: 108px;
          image {
            width: 108px;
            height: 108px;
            border-radius: 50%;
            border: 2px solid #ffffff;
          }
        }
      }
      .user-name {
        text-align: center;
        font-size: 32px;
        font-weight: bold;
        line-height: 40px;
        color: #303133;
      }
    }

    &_wrap {
      display: flex;
      flex-direction: column;
      height: 100%;
    }
    .ranking-operation-wrap {
      padding: 44px 30px;
      display: flex;
      justify-content: space-between;
      .left {
        font-size: 28px;
        font-weight: 400;
        color: #a13d0f;
        padding-right: 36px;
        background-size: 24px;
        background-repeat: no-repeat;
        background-position: right center;
      }
      .right {
        font-size: 24px;
        font-weight: 400;
        color: #a13d0f;
        padding-top: 8px;
        .main {
          float: left;
          .icon {
            margin-right: 12px;
            padding-bottom: 4px;
          }
        }
        .tips {
          float: right;
          color: #909399;
          margin-left: 30px;
        }
      }
    }
    .list-wrap {
      padding: 0 30px;
      flex: 1;
      .list-item {
        height: 120px;
        background: #fffdf4;
        padding: 14px 22px;
        border-radius: 16px;
        margin-bottom: 24px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        .left {
          flex: 1;
          display: flex;
          align-items: center;
          .ranking-img {
            width: 76px;
            height: 76px;
          }
          .ranking {
            width: 76px;
            height: 76px;
            font-size: 40px;
            font-weight: bold;
            line-height: 76px;
            text-align: center;
            color: #303133;
            position: relative;
          }
          .ranking::after {
            content: ""; /*CSS伪类用法*/
            position: absolute; /*定位背景横线的位置*/
            bottom: 18px;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 8px;
            background: #ff8000;
            border-radius: 50%;
            opacity: 0.3;
          }
          .avatar {
            margin-left: 14px;
            width: 72px;
            height: 72px;
            border: 2px solid #ffffff;
            border-radius: 50%;
          }
          .name {
            margin-left: 24px;
            font-size: 32px;
            font-weight: 500;
            color: #303133;
          }
        }
        .right {
          display: flex;
          align-items: center;
          .petal {
            width: 44px;
            height: 44px;
            margin-right: 8px;
          }
          .num {
            padding-right: 18px;
            font-size: 28px;
            font-weight: 400;
            color: #303133;
          }
        }
      }
      .list-item:nth-child(odd) {
        background: #fff8db;
      }
    }
  }
  .want-add{
    position: fixed;
    bottom: 16px;
    left: 0;
    right: 0;
    margin: auto;
  }
  .ranking-modal {
    .modal-title {
      position: absolute;
      top: 0;
      left: 50%;
      text-align: center;
      box-sizing: border-box;
      width: 394px;
      height: 80px;
      background-repeat: no-repeat;
      background-size: 100%;
      transform: translate3d(-50%, -50%, 0);
      line-height: 80px;
      font-size: 32px;
      font-weight: bold;
      color: #a13d0f;
    }

    .custom-comtainer-close {
      margin: 20px 30px 48px 0;
    }
    .rule-modal {
      flex: 1;
      overflow-x: hidden;
      padding: 0 30px;
      view {
        text-align: left;
        line-height: 48px;
        font-size: 28px;
        font-family: PingFang SC;
        font-weight: 400;
        color: #303133;
      }
    }
  }
  .semicircle-button .strategy-btn {
    background-color: #FF8000;
  }
}
